﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WanPiJie
{
	/// <summary>
	/// 成长指标
	/// </summary>
	public interface IGrowthIndexService
	{
		/// <summary>
		/// 添加成长指标。
		/// </summary>
		/// <param name="growthIndex"></param>
		/// <returns></returns>
		GrowthIndex AddGrowthIndex(GrowthIndex growthIndex);

		/// <summary>
		/// 获取成长指标。
		/// </summary>
		/// <param name="id">编号。</param>
		/// <returns></returns>
		GrowthIndex GetGrowthIndex(int id);

		/// <summary>
		/// 获取成长指标。
		/// </summary>
		/// <param name="age">年龄。</param>
		/// <returns></returns>
		GrowthIndex GetGrowthIndexByAge(int age);

		/// <summary>
		/// 获取所有成长指标。
		/// </summary>
		/// <returns></returns>
		GrowthIndex GetAllGrowthIndexs();
	}
}
